<?xml version="1.0" encoding="utf-8"?>

<log4net>
  <appender name="FileAppender" type="log4net.Appender.FileAppender">
    <param name="Threshold" value="INFO" />
    <file value="log-file.txt" />
    <appendToFile value="true" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
    </layout>
  </appender>

  <root>
    <appender-ref ref="FileAppender" />
  </root>
</log4net>